package service;

import pojo.Employees;
import pojo.Salaries;
import pojo.SalaryDTO;
import util.PageHelper;

import java.util.ArrayList;

public interface ISalaryAdministrationService {
    //薪酬管理
    //单人薪酬修改(根据薪酬对象,员工Id)
    boolean updateSalary(Salaries salaries,Integer eId);
    /*//薪酬总览(动态模糊查询,带分页)
    ArrayList querySalaries(Salaries salaries, Employees employees, PageHelper pageHelper);*/
    ArrayList<SalaryDTO> querySalaries(Salaries salaries, Employees employees, PageHelper pageHelper);
    //薪资信息数量查询
    int queryCountSalaries(Salaries salaries,Employees employees);
}
